<script setup>
import { ref } from "vue";
import { ElButton } from "element-plus";
import { useUserStore } from "@/store/user";
import request from "../base/request";

request
  .post("/gateway/pangu/web/auth/getMe", { needRole: true })
  .then((res) => {
    console.log(res);
  });
</script>

<template>
  <h1>
    Home
    <el-button type="warning"
      >这里是HOME</el-button
    >
  </h1>
</template>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>
